<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>senser</title>
</head>
<body>
<br/>
<font size="7">Welcome...</font>
<br/><br/>
<table border="1px" cellpadding="0px" cellspacing="0px" width="400px" height="300px">
    <tr align="center">
        <td width="200px" height="50px">读取数据</td>
        <td width="200px" height="50px">读取值</td>
    </tr>
    <tr align="center">
        <td width="200px" height="50px">时间</td>
        <td width="200px" height="50px">${weather.date}</td>
    </tr>
    <tr align="center">
        <td width="200px" height="50px">地点</td>
        <td width="200px" height="50px">${weather.cityInfo.city}</td>
    </tr>
    <tr align="center">
        <td width="200px" height="50px">温度</td>
        <td width="200px" height="50px">${weather.data.forecast[0].low}  ${weather.data.forecast[0].high}  </td>
    </tr>
    <tr align="center">
        <td width="200px" height="50px">湿度</td>
        <td width="200px" height="50px">${weather.data.shidu}</td>
    </tr>
    <tr align="center">
        <td width="200px" height="50px">风</td>
        <td width="200px" height="50px">${weather.data.forecast[0].fx}  ${weather.data.forecast[0].fl}</td>
    </tr>
    <tr align="center">
        <td width="200px" height="50px">提示</td>
        <td width="200px" height="50px">${weather.data.forecast[0].notice}</td>
    </tr>
</table>
<br/><br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="button" value="read" onclick="location.href = '/weather.action'"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="button" value="save" onclick="location.href = '/save.action'"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="button" value="history" onclick="location.href = '/history.action'"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="/index.jsp"><input type="button" value="back"/></a>
</body>
</html>
